package com.nlelpct.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nlelpct.manage.model.entity.SysMenu;
import com.nlelpct.manage.model.vo.MenuVo;
import com.nlelpct.manage.model.vo.MyCurrentMenuVo;
import com.nlelpct.manage.model.vo.ResponseResult;

import java.util.List;

/**
 * @author :小马
 * @date : 2023-10-12
 */
public interface ISysMenuService extends IService<SysMenu> {

    /**
     * 获取当前系统配置菜单结构
     *
     * @return 菜单结构
     */
    ResponseResult<List<MenuVo>> getMenuStructure();


    /**
     * 获取当前用户拥有的菜单权限
     *
     * @return 菜单权限
     */
    ResponseResult<MyCurrentMenuVo> getOwnedMenu();

}
